package com.ruoyi.system.service.impl.smy;

import com.ruoyi.common.core.domain.smy.DistributorWithdrawRecord;
import com.ruoyi.system.mapper.smy.DistributorWithdrawRecordMapper;
import com.ruoyi.system.service.smy.IDistributorWithdrawRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DistributorWithdrawRecordServiceImpl implements IDistributorWithdrawRecordService {
	@Resource
	private DistributorWithdrawRecordMapper distributorWithdrawRecordMapper;

	@Override
	public DistributorWithdrawRecord selectDistributorWithdrawRecordById(Long id) {
		return distributorWithdrawRecordMapper.selectDistributorWithdrawRecordById(id);
	}

	@Override
	public List<DistributorWithdrawRecord> selectDistributorWithdrawRecordList(DistributorWithdrawRecord distributorWithdrawRecord) {
		return distributorWithdrawRecordMapper.selectDistributorWithdrawRecordList(distributorWithdrawRecord);
	}

	@Override
	public int insertDistributorWithdrawRecord(DistributorWithdrawRecord distributorWithdrawRecord) {
		return distributorWithdrawRecordMapper.insertDistributorWithdrawRecord(distributorWithdrawRecord);
	}

	@Override
	public int updateDistributorWithdrawRecord(DistributorWithdrawRecord distributorWithdrawRecord) {
		return distributorWithdrawRecordMapper.updateDistributorWithdrawRecord(distributorWithdrawRecord);
	}

	@Override
	public int deleteDistributorWithdrawRecordByIds(Long[] ids) {
		return distributorWithdrawRecordMapper.deleteDistributorWithdrawRecordByIds(ids);
	}

	@Override
	public int deleteDistributorWithdrawRecordById(Long id) {
		return distributorWithdrawRecordMapper.deleteDistributorWithdrawRecordById(id);
	}
}
